<%@ page import="com.biz.utils.ConfigUtil" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
    String resoursUrl = ConfigUtil.get("RESOURCES_URL");
%>

<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>我的信息</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" href="<%=resoursUrl%>resources/assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="<%=resoursUrl%>resources/assets/css/NnOrange.css" />
    <script type="text/javascript" src="<%=resoursUrl%>resources/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="<%=resoursUrl%>resources/assets/js/amazeui.min.js"></script>
  <jsp:include page="/jsp/inc_head.jsp"></jsp:include>
<style>
  #zhezhao{
    background:#333;
    bottom: 0;
	width:100%;
    display: none;
    left: 0;
    opacity: 0.9;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
	}
	.zzcltext{
		font-size:18px;
		color:#fff;
		margin-top: 200px;
		text-align:center;
		font-family: "Segoe UI","Lucida Grande",Helvetica,Arial,"Microsoft YaHei",FreeSans,Arimo,"Droid Sans","wenquanyi micro hei","Hiragino Sans GB","Hiragino Sans GB W3",FontAwesome,sans-serif;
	}
</style>
</head>

<body style="padding-bottom:50px;">
<div class="am-g">
    <div class="am-u-sm-12 am-pad-none">
    	<div class="am-u-sm-12 wdzh_lie">
            <div class="am-u-sm-8 am-pad-none">
            手机号：	<span id="phone" class="myzh_tel"></span>
            </div>
        	<div class="am-u-sm-4 am-pad-none am-text-right">
            	<button onclick="toAccountChange();" class="yzmsg">修改</button>
            </div>
        </div>
    </div>
</div>
<div class="am-g">
	<div class="am-u-sm-12 am-pad-none">
		<div class="am-u-sm-12 wdzh_lie">
			<div class="am-u-sm-8 am-pad-none">
				生日：	<span id="bir" class="myzh_tel"></span>
			</div>
			<div class="am-u-sm-4 am-pad-none am-text-right">
				<button onclick="toBirChange();" class="yzmsg">修改</button>
			</div>
		</div>
	</div>
</div>

<jsp:include page="/jsp/inc_bottom.jsp"></jsp:include>
<script>
    var ajaxpath="${pageContext.request.contextPath}";
    $(function () {
          var url=ajaxpath+"/userCenter/getUserCenterInfo.do?";
	      $.get(url, function(data){
	           $("#phone").text(data.phone);
			  if(data.birthDay==""||data.birthDay==null){
			  }else{
				  $("#bir").html(data.birthDay);
			  }
	      });
    });
    function toAccountChange(){
         var phone=$("#phone").text();
         window.location.href = ajaxpath+"/client_toAccountchange.do?guid="+ new Date()+"&phone="+phone; 
    }
	function toBirChange(){
		var phone=$("#phone").text();
		window.location.href = ajaxpath+"/jsp/client/client_BirthDay.jsp?guid="+ new Date();
	}
</script>
</body>
</html>
